package com.tjnu.baiyi.entity;

/**
 * TbFriend entity. @author MyEclipse Persistence Tools
 */

public class TbFriend implements java.io.Serializable {
	private static final long serialVersionUID = -4376862775789708457L;
	private Integer id;
	private TbUser tbUserByUserId;
	private TbUser tbUserByFriendId;

	// Constructors

	/** default constructor */
	public TbFriend() {
	}

	/** full constructor */
	public TbFriend(TbUser tbUserByUserId, TbUser tbUserByFriendId) {
		this.tbUserByUserId = tbUserByUserId;
		this.tbUserByFriendId = tbUserByFriendId;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public TbUser getTbUserByUserId() {
		return this.tbUserByUserId;
	}

	public void setTbUserByUserId(TbUser tbUserByUserId) {
		this.tbUserByUserId = tbUserByUserId;
	}

	public TbUser getTbUserByFriendId() {
		return this.tbUserByFriendId;
	}

	public void setTbUserByFriendId(TbUser tbUserByFriendId) {
		this.tbUserByFriendId = tbUserByFriendId;
	}

}